<h1><?php echo Yii::t('msg', '0039', array());?></h1>
<?php if($status == ""): ?>
	<form action="" method="POST">
		<table class="table table-bordered table_2_col" width="100%">
			<tr>
				<td style="width: 500px;text-align: right"><?php echo Yii::t('lbl', '0016', array());?></td>
				<td style="width: 500px;"><?php echo $model->code;?></td>
			</tr>
			<tr>
				<td style="text-align: right"><?php echo Yii::t('lbl', '0017', array());?></td>
				<td><?php echo $model->vcash;?></td>
			</tr>
			<tr>
				<td style="text-align: right"><?php echo Yii::t('lbl', '0019', array());?></td>
				<td><?php echo $model->rate;?>%</td>
			</tr>
			<tr>
				<td style="text-align: right"><?php echo Yii::t('lbl', '0020', array());?></td>
				<td><?php echo $model->vcash + ceil($model->vcash * ($model->rate/100))?></td>
			</tr>

		</table>
		<div class="form-actions">
		    <button type="submit" name="submit" class="btn btn-primary"><?php echo Yii::t("lbl", "0021");?></button>
		    <button type="submit" name="destroy" class="btn" ><?php echo Yii::t("lbl", "0002");?></button>
		</div>
	</form>
<?php elseif($status == "destroy"): ?>
	<div style="margin:0 auto;width: 380px">
		<img src="<?php echo $this->baseUrl;?>/images/fail.png"  style="float:left" alt="">
		<div class="pull-left">
			<h2><?php echo Yii::t('msg', '0041', array()); ?></h2>
			<p><a href="<?php echo $this->baseUrl;?>"><?php echo Yii::t('msg', '0040', array()); ?></a></p>
		</div>
	</div>
<?php elseif($status == "transfer"): ?>
	<div style="margin:0 auto;width: 380px">
		<img src="<?php echo $this->baseUrl;?>/images/success.png"  style="float:left" alt="">
		<div class="pull-left">
			<h2><?php echo Yii::t('msg', '0042', array()); ?></h2>
			<p><a href="<?php echo $this->baseUrl;?>"><?php echo Yii::t('msg', '0040', array()); ?></a></p>
		</div>
	</div>
<?php endif ?>
